/* ======使用注明=======
//#import "SEGFocusView.h"
//@property (nonatomic, strong)SEGFocusView *varFocusView; <#注释#>
// 控件数据模型创建
SEGFocusViewModel *data = [[SEGFocusViewModel alloc]init];
// 控件内容布局计算
SEGFocusViewLayout *layout = [[SEGFocusViewLayout alloc]initWithData:data type:SEGEnumFocusViewType_NO];
// 内容布局填充到视图
SEGFocusView *varFocusView = [[SEGFocusView alloc]initWithFrame:CGRectZero];
//varFocusView.delegate = self;
varFocusView.left = 0;
varFocusView.top = 0;
varFocusView.width = LYScreenWidth()();
varFocusView.height = varFocusView.layout.totalHeight;
[varFocusView setWithLayout:layout];

*/
#import <UIKit/UIKit.h>
#import "SEGFocusViewModel.h"

@protocol SEGprotocolFocusViewDelegate <NSObject>
@optional

-(void)focusPGCContentViewTap;
-(void)focusChannelNameLabelTap:(SEGLabel*)sender;

@end


@interface SEGFocusView : UIView
@property (nonatomic, strong,readonly)SEGFocusViewLayout *layout;
- (void)setWithLayout:(SEGFocusViewLayout *)layout;

/**
 图片和标题的背景试图
 */
@property (nonatomic, strong) UIView *bgView;
@property (nonatomic, strong) SEGLabel *contentTitleLabel; // 看点副标题文本
@property (nonatomic, strong) UIImageView *onePictureImageVIew; // 单张图片

@property (nonatomic, strong) SEGLabel *channelNameLabel; // 频道名称文本

@property (nonatomic, assign) id<SEGprotocolFocusViewDelegate> delegate;// 代理
@end
